package com.ztmg.water.service.water;

import com.ztmg.water.model.water.WaterBrand;
import com.ztmg.water.vo.water.WaterBrandVO;
import com.ztmg.water.dto.water.WaterBrandDTO;
import com.ztmg.water.dto.water.WaterBrandPageDTO;
import com.ztmg.common.util.resultUtils.JsonResult;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface WaterBrandService{

		JsonResult create(WaterBrandDTO dto);
		JsonResult update(WaterBrandDTO dto);
		JsonResult<WaterBrandVO> selectById(Integer id);
		JsonResult<List<WaterBrandVO>> select(WaterBrandDTO dto);
		JsonResult<PageInfo<WaterBrandVO>> selectPage(WaterBrandPageDTO dto);
		JsonResult deleteById(Integer id);
		JsonResult delete(WaterBrandDTO dto);
		JsonResult selectCountWaterBrand(WaterBrandDTO dto);
}